import { legacy_createStore, 
      applyMiddleware,
      combineReducers} from "redux"
import logger from "redux-logger"
import thunk from "redux-thunk"
import reducer from './reducer'
const allReducer= combineReducers({
  reducer
})
const store=legacy_createStore(
    allReducer,
    applyMiddleware(logger,thunk)
)
export default store